<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>

<%
String alert = request.getParameter("alert");
String type = request.getParameter("type");
try{
alert = new String(alert.getBytes("ISO-8859-1"),"GBK");
}catch(Exception e){
	e.printStackTrace();
}
if(!"json".equals(type)){
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
<script type="text/javascript">
	$(document).ready(function(){
		alertMsg.info("<%=alert%>");
		navTab.closeCurrentTab();
		});
</script>
</head>
<body>
</body>
</html>
<%
}

else{
	%>
	{
	statusCode:300, 
	message:"<%=alert%>", 
	navTabId:"", 
	forwardUrl:"", 
	callbackType:"closeCurrent"
}
	
	<%
}
%>